package com.itheima.clientAndService01;

import java.io.FileOutputStream;
import java.io.IOException;

public class FileClass07 {
    public static void main(String[] args) throws IOException {
        FileOutputStream fos = new FileOutputStream("day11\\aaa\\c.txt");
//        fos.write(97);
        byte[] bys = {97, 98, 99, 100};
//        fos.write(bys);
        fos.write(bys, 1, 2);

        fos.close();
    }
}
